package zx.springcloud.lib;

import org.springframework.cloud.client.ServiceInstance;

import java.util.List;

/**
 * @author ZX
 * @date 2021/3/24
 * 自定义负载均衡算法
 */
public interface LoadBalancer
{
    ServiceInstance instances (List<ServiceInstance> serviceInstances);
}
